package com.exercise.utils;
/**
 * Created by kete on 2017-04-01.
 */

import java.util.HashMap;

public class JsonBean extends HashMap {

    private Integer code;
    private String success = "1";
    private String message;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        put("code", code);
        this.code = code;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        put("success", success);
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        put("message", message);
        this.message = message;
    }

    public void put(String key,Object value) {
        super.put(key, value);
    }
}
